package com.ioc;

import org.springframework.stereotype.Component;

@Component
public class Son2 extends  Son{
    public void eat(){
        System.out.println("son2");
    }
}
